import 'package:situation/app/page/package.dart';
import 'package:situation/app/page/user/system_setting/server_url_form/binding.dart';
import 'package:situation/app/page/user/system_setting/server_url_form/view.dart';
import 'package:situation/app/router/router_name.dart';
import 'package:get/get.dart';

List<GetPage> userRouters = [
  // 登录
  GetPage(
      name: RouterName.userIndex,
      page: () => UserIndexPage(),
      binding: UserIndexBinding()),
  GetPage(
      name: RouterName.userLogin,
      page: () => AuthLoginPage(),
      binding: AuthLoginBinding()),

  GetPage(
      name: RouterName.userForgotPassword,
      page: () => AuthForgotPwdPage(),
      binding: AuthForgotPwdBinding()),

  //
  // 系统设置
  GetPage(
      name: RouterName.userSystemSettingIndex,
      page: () => SystemSettingIndexPage(),
      binding: SystemSettingIndexBinding()),


  // 服务地址设置
  GetPage(
      name: RouterName.serverUrlSetting,
      page: () => ServerUrlSettingPage(),
      binding: ServerUrlSettingBinding()),

  GetPage(
      name: RouterName.serverUrlForm,
      page: () => ServerUrlFormPage(),
      binding: ServerUrlFormBinding()),

  GetPage(
      name: RouterName.userPrivacyPermission,
      page: () => UserPrivacyPermissionPage(),
      binding: UserPrivacyPermissionBinding()),


  GetPage(
      name: RouterName.appAbout,
      page: () => AppAboutPage(),
      binding: AppAboutBinding()),

];
